package com.dkm.ou.me.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:权限授予 Tbl对象
 * 开发公司:HJ.COM
 * 开发人员:ZHH
 * 创建时间:2016-07-19 15:45:40
 */
 @ITable(name="resGrant",code="t_ou_res_grant")
public class ResGrantTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*角色权限 ID*/
	@IField(name="resId",column="res_id_")
	protected String  resId; 		/*权限 ID*/
	@IField(name="roleId",column="role_id_")
	protected String  roleId; 		/*授予角色 ID*/
	@IField(name="status",column="status_")
	protected String  status; 		/*状态。draft=待审核；active=激活；awaiting_delete=待删除；已删除=deleted*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="userId",column="user_id_")
	protected String  userId; 		/*授予用户 ID*/
	@IField(name="auditTime",column="audit_time_")
	protected java.util.Date  auditTime; 		/*审核时间*/
	@IField(name="auditorId",column="auditor_id_")
	protected String  auditorId; 		/*审核管理员ID*/
	@IField(name="auditComment",column="audit_comment_")
	protected String  auditComment; 		/*审核意见*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 角色权限 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setResId(String resId) 
	{
		this.resId = resId;
	}
	/**
	 * 返回 权限 ID
	 * @return
	 */
	public String getResId() 
	{
		return this.resId;
	}
	public void setRoleId(String roleId) 
	{
		this.roleId = roleId;
	}
	/**
	 * 返回 授予角色 ID
	 * @return
	 */
	public String getRoleId() 
	{
		return this.roleId;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 状态。draft=待审核；active=激活；awaiting_delete=待删除；已删除=deleted
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUserId(String userId) 
	{
		this.userId = userId;
	}
	/**
	 * 返回 授予用户 ID
	 * @return
	 */
	public String getUserId() 
	{
		return this.userId;
	}
	public void setAuditTime(java.util.Date auditTime) 
	{
		this.auditTime = auditTime;
	}
	/**
	 * 返回 审核时间
	 * @return
	 */
	public java.util.Date getAuditTime() 
	{
		return this.auditTime;
	}
	public void setAuditorId(String auditorId) 
	{
		this.auditorId = auditorId;
	}
	/**
	 * 返回 审核管理员ID
	 * @return
	 */
	public String getAuditorId() 
	{
		return this.auditorId;
	}
	public void setAuditComment(String auditComment) 
	{
		this.auditComment = auditComment;
	}
	/**
	 * 返回 审核意见
	 * @return
	 */
	public String getAuditComment() 
	{
		return this.auditComment;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("resId", this.resId) 
		.append("roleId", this.roleId) 
		.append("status", this.status) 
		.append("createTime", this.createTime) 
		.append("userId", this.userId) 
		.append("auditTime", this.auditTime) 
		.append("auditorId", this.auditorId) 
		.append("auditComment", this.auditComment) 
		.toString();
	}
}